package com.framework.bas.util.linq;

public class FilterLinqFactory implements LinqFactory {

	@SuppressWarnings("unchecked")
	public IFilter create(String prop, String value){
		if(prop !=null){
			if(value == null){
				return new NullFilter(prop);
			}else{
				return new EqFilter(prop, value);
			}
		}
		return null;
	}
}
